package com.collection.provider.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.collection.api.ApplyAuditService;
import com.collection.api.entity.ApplyAudit;
import com.collection.api.entity.ApplyAuditExample;
import com.collection.provider.biz.ApplyAuditBiz;

@Service(version ="1.0.0")
public class ApplyAuditServiceImpl implements ApplyAuditService {
	@Autowired
	private ApplyAuditBiz applyAuditBiz;

	@Override
	public int deleteByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insert(ApplyAudit record) {
		return applyAuditBiz.insert(record);
	}

	@Override
	public int insertSelective(ApplyAudit record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<ApplyAudit> selectByExample(ApplyAuditExample example) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ApplyAudit selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}


	@Override
	public int updateByPrimaryKeySelective(ApplyAudit record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByPrimaryKey(ApplyAudit record) {
		// TODO Auto-generated method stub
		return 0;
	}
	/**
	  *
	  *@destruction：获取审批记录列表
	  *@author：zongzhiping
	  *@date:2018年1月17日
	  *@param args
	  *
	**/
	@Override
	public Map<String, Object> getAuditRecordList(String applyMainId) {
		return applyAuditBiz.selectAuditRecordList(applyMainId);
	}

	

}
